
import DrawV1 from "./DrawV1";

const { ccclass, property, requireComponent } = cc._decorator;

@ccclass
@requireComponent(cc.Sprite)
export default class DrawV2 extends DrawV1 {

    @property(cc.Mask)
    mask: any = null;

    protected mg:cc.Graphics = null;
    start(){
        super.start();
        this.mg = this.mask._graphics;
    }
}
